<include file='Common:header'/>
<title></title>
<link rel="stylesheet" href="__PUBLIC__/Admin/Css/common.css">
</head>
<body>
	<div class="status">
		<span>类型属性列表</span>
		<a href="{:U('addAttr', array('tid' => $_GET['id']))}" class='add'>添加类型属性</a>
	</div>
	<table class="table">
		<tr>
			<th>ID</th>
			<th>属性名称</th>
			<th>属性类型</th>
			<th>属性值</th>
			<th>操作</th>
		</tr>
		<foreach name='attr' item='v'>
			<tr>
				<td width='8%' align='center'>{$v.id}</td>
				<td>{$v.name}</td>
				<td width='10%' align='center'>
					<if condition='$v["type"]'>
						规格
					<else/>
						属性
					</if>
				</td>
				<td>{$v.value}</td>
				<td align='center'>
					<a href="" class='edit'></a>
					<a href="" class='del'></a>
				</td>
			</tr>
		</foreach>
	</table>
</body>
</html>